#!/usr/bin/env bash
cur_dir=`pwd`
docker stop micro-redis
docker rm micro-redis
docker run -idt -p 6379:6379 --name micro-redis -v ${cur_dir}/redis.conf:/etc/redis/redis_default.conf -v ${cur_dir}/data:/data redis:3.2